.model{
    position: absolute; z-index: 1003;
    width:320px; height:320px; text-align:center;
    background-color:#FFFFFF; display: none;
}

.bg,.popIframe {
    background-color: #666; display:none;
    width: 100%;
    height: 100%;
    left:0;
    top:0;/*FF IE7*/
    filter:alpha(opacity=50);/*IE*/
    opacity:0.5;/*FF*/
    z-index:1;
    position:fixed!important;/*FF IE7*/
    position:absolute;/*IE6*/
    _top:       expression(eval(document.compatMode &&
document.compatMode=='CSS1Compat') ?
documentElement.scrollTop + (document.documentElement.clientHeight-this.offsetHeight)/2 :/*IE6*/
document.body.scrollTop + (document.body.clientHeight - this.clientHeight)/2);
}
.popIframe {
    filter:alpha(opacity=0);/*IE*/
    opacity:0;/*FF*/
}